package com.github.tyc1210;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement
@MapperScan("com.github.tyc1210.dao")
public class DynamicDataSourceApplication {
    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(DynamicDataSourceApplication.class);
        springApplication.run(args);
    }
}
